﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Main.Master" AutoEventWireup="true"
    CodeBehind="CustomerManage.aspx.cs" Inherits="ATW.MT.SellManage.CustomerManage" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cp01" runat="server">
    <div class="main_hd">
        <h2 style="padding: 0px 20px;">
            客户管理
        </h2>
        <div class="title_tab" id="topTab">
            <ul>
                <li>客户名称：&nbsp;<input type="text" id="txtName" runat="server" />
                    &nbsp; &nbsp; &nbsp;
                    <asp:Button runat="server" ID="btnSearch" Text="搜索" class="MaintenanceButton" OnClick="btnSearch_Click"
                        Style="background: #d91913; outline: none; border: none; color: White; padding: 5px 20px;" />
                    &nbsp; &nbsp; &nbsp;
                    <%-- <input type="button" id="btnAddUser" class="queryButton" value="新增用户组" />--%>
                </li>
            </ul>
            <ul>
                <li>
                    <asp:Label runat="server" ID="lblError" ForeColor="Red" Font-Bold="true"></asp:Label></li>
            </ul>
        </div>
        <asp:Repeater ID="rpList" runat="server">
            <HeaderTemplate>
                <table width="95%" border="0" cellpadding="0" cellspacing="0" style="font-size: 14px"
                    class="queryResultTable">
                    <tr>
                        <th>
                            客户名称
                        </th>
                        <th>
                            客户账号
                        </th>
                        <th>
                            客户等级
                        </th>
                        <th>
                            所属国家
                        </th>
                        <th>
                            客户系数
                        </th>
                        <th>
                            使用货币
                        </th>
                        <th>
                            对人民币汇率
                        </th>
                        <th>
                            所属销售
                        </th>
                        <th>
                            邀请码
                        </th>
                        <th>
                            操作
                        </th>
                    </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("tauname").ToString() %>
                    </td>
                    <td>
                        <%#Eval("tauloginid").ToString() %>
                    </td>
                    <td>
                        <%#Eval("tauAdditional6").ToString()%>
                    </td>
                    <td>
                        <%#Eval("tauCountry").ToString()%>
                    </td>
                    <td>
                        <%#Eval("tauAdditional4").ToString()%>
                    </td>
                    <td>
                        <%#Eval("dcName").ToString()%>
                    </td>
                    <td>
                        <%#Eval("rate").ToString()%>
                    </td>
                    <td>
                        <%#Eval("belongto").ToString() %>
                    </td>
                    <td>
                        <%#Eval("tauAdditional1").ToString()%>
                    </td>
                    <td>
                        <a class="btnUpdate" args='<%#Eval("tauid").ToString() %>'>操作</a>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <cc1:AspNetPager ID="AspNetPager1" Style="float: right" runat="server" PageSize="10"
            AlwaysShow="true" CssClass="paginator" CurrentPageButtonClass="cpb" FirstPageText="首页"
            PagingButtonSpacing="0" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
            OnPageChanged="AspNetPager1_pageChanged">
        </cc1:AspNetPager>
    </div>
    <div id="divUser" style="display: none">
        <div class="tc_header">
            <h2>
                客户配置</h2>
            <a id="hideUser">
                <img src="../images/chacha.png" width="13" height="13"></a>
        </div>
        <div class="tc_content">
            <div class="tanchu03" style="min-width: 200px,min-height:80px">
                <table border="0" cellpadding="0" cellspacing="0" class="queryResultTable">
                    <tr>
                        <th>
                            客户等级：
                        </th>
                        <td>
                            <input type="text" id="txtCusRank" />
                            <input type="text" id="txtUid" style="display: none" />
                        </td>
                    </tr>
                    <tr>
                        <th>
                            客户系数：
                        </th>
                        <td>
                            <input type="text" id="txtCusRate" />
                        </td>
                    </tr>
                    <tr>
                        <th>
                            客户货币：
                        </th>
                        <td>
                            <asp:DropDownList runat="server" ID="ddlCurrency" Style="text-indent: 0px">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr id="trSell">
                        <th>
                            所属销售：
                        </th>
                        <td>
                            <select id="ddlSeller" style="text-indent: 0px">
                                <option value="">无</option>
                            </select>
                            <input type="text" id="txtFilter" />
                        </td>
                    </tr>
                </table>
                <div style="text-align: center">
                    <input type="button" id="btnSave" value="保存" class="queryButton" />
                </div>
            </div>
        </div>
    </div>
    <div id="divMsg" style="display: none;">
        <div class="tc_header">
            <h2>
                提示</h2>
            <a id="hideMsg">
                <img src="../images/chacha.png" width="13" height="13"></a>
        </div>
        <div class="tc_content">
            <div class="tanchu03" style="min-width: 200px,min-height:80px">
                <p id="msgContent">
                </p>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="../Scripts/CustomerManage.js"> </script>
</asp:Content>
